From 2183dbf3c12fc4bf9f21f2755ac1addb4094232c Mon Sep 17 00:00:00 2001 From: 4 Date: Tue, 5 Oct 2004 23:05:13 +0000 Subject: [PATCH] check the iteration window variable, not just the window passed in. fixes Wed Oct 6 00:45:04 2004 * gdk/gdkwindow.c (gdk_window_is_viewable): check the iteration window variable, not just the window passed in. fixes #145270. --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gdk/gdkwindow.c | 2 +- 5 files changed, 21 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index cb37cac8d4..255ddb4aa8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Oct 6 00:45:04 2004 + + * gdk/gdkwindow.c (gdk_window_is_viewable): check the iteration window + variable, not just the window passed in. fixes #145270. + Tue Oct 5 21:00:54 2004 Tim Janik * gtk/gtkwidget.c (gtk_widget_size_allocate): reverted my last change diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index cb37cac8d4..255ddb4aa8 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Wed Oct 6 00:45:04 2004 + + * gdk/gdkwindow.c (gdk_window_is_viewable): check the iteration window + variable, not just the window passed in. fixes #145270. + Tue Oct 5 21:00:54 2004 Tim Janik * gtk/gtkwidget.c (gtk_widget_size_allocate): reverted my last change diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index cb37cac8d4..255ddb4aa8 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +Wed Oct 6 00:45:04 2004 + + * gdk/gdkwindow.c (gdk_window_is_viewable): check the iteration window + variable, not just the window passed in. fixes #145270. + Tue Oct 5 21:00:54 2004 Tim Janik * gtk/gtkwidget.c (gtk_widget_size_allocate): reverted my last change diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index cb37cac8d4..255ddb4aa8 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Wed Oct 6 00:45:04 2004 + + * gdk/gdkwindow.c (gdk_window_is_viewable): check the iteration window + variable, not just the window passed in. fixes #145270. + Tue Oct 5 21:00:54 2004 Tim Janik * gtk/gtkwidget.c (gtk_widget_size_allocate): reverted my last change diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c index 089a434a72..556d1c9dab 100644 --- a/gdk/gdkwindow.c +++ b/gdk/gdkwindow.c @@ -827,7 +827,7 @@ gdk_window_is_viewable (GdkWindow *window) (private != (GdkWindowObject *)root_window) && (GDK_WINDOW_TYPE (private) != GDK_WINDOW_FOREIGN)) { - if (GDK_WINDOW_DESTROYED (window) || !GDK_WINDOW_IS_MAPPED (window)) + if (GDK_WINDOW_DESTROYED (private) || !GDK_WINDOW_IS_MAPPED (private)) return FALSE; private = (GdkWindowObject *)private->parent; -- 2.30.2